import React, { useEffect } from "react";
import { useDispatch } from "react-redux";
import { NavigationContainer } from "@react-navigation/native";
import StackNavigator from "./StackNavigator";

const Reactnavitor = () => {

    const dispatch = useDispatch()

    useEffect(() => {
        // dispatch({ type: "setLockVisible", value: true });
    }, []);

    return (
        <NavigationContainer>
            <StackNavigator />
        </NavigationContainer>
    );
}

export default Reactnavitor;